package com.stone.serverless.mybatis.service;

import com.stone.serverless.mybatis.entity.EmrWriteRecordOutpatientDO;
import com.stone.serverless.mybatis.mapper.MybatisMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: TODO
 * @Author: MECHREVO
 * @Date: 2022/1/14 13:30
 * @Version: 1.0.0
 */
@Service
public class MybatisService {

    @Autowired
    private MybatisMapper mybatisMapper;

    public List<EmrWriteRecordOutpatientDO> mybatis() {
        List<EmrWriteRecordOutpatientDO> query = mybatisMapper.query();
        return query;
    }
}
